package com.study.pojo.request;

import lombok.Data;

import java.io.Serializable;

/**
 * 用户登录请求体
 *登录只需要账号密码就能登录
 * @author fruity
 */

public class UserLoginRequest implements Serializable {
    private static final long serialVersionUID = 1L;
    private String userAccount;
    private String userPassword;

    public UserLoginRequest() {
    }

    public UserLoginRequest(String userAccount, String userPassword) {
        this.userAccount = userAccount;
        this.userPassword = userPassword;
    }

    /**
     * 获取
     * @return userAccount
     */
    public String getUserAccount() {
        return userAccount;
    }

    /**
     * 设置
     * @param userAccount
     */
    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    /**
     * 获取
     * @return userPassword
     */
    public String getUserPassword() {
        return userPassword;
    }

    /**
     * 设置
     * @param userPassword
     */
    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String toString() {
        return "UserLoginRequest{userAccount = " + userAccount + ", userPassword = " + userPassword + "}";
    }
}
